//
//  iHome.m
//  Demo2
//
//  Created by cora1n on 14-8-21.
//  Copyright (c) 2014年 devwu. All rights reserved.
//

#import "iHome.h"
#import "Person.h"
@implementation iHome
-(void)findHouseForPerson:(Person *)p
{
    NSLog(@"%@ 您好,链家竭诚为您服务!",p);
    switch (arc4random()%2) {
        case 0:
            //通知客户,房子未找到
            [p houseDidNotFind];
            break;
        case 1:
            //通知客户,房子已经找到
            [p houseDidFind];
            break;
        default:
            break;
    }}
@end
